﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace PM.Web.Admin
{
    public partial class admin_family_list : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                bindData();
            }
        }
        private void bindData()
        {
            DataAccess.PmData dal = new DataAccess.PmData();
            this.repFamilyList.DataSource = dal.GetCommunity(int.Parse(Session["CommId"].ToString()), true);
            this.repFamilyList.DataBind();
        }
    }
}